<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            /* 透视 */
            perspective: 500px;
        }
        div {
            width: 200px;
            height: 200px;
            background-color: darkturquoise;
            margin: 100px auto;
            /* translateZ越大看到的盒子越大，可以是负值 */
            transform: translateZ(-30px);

        }
    </style>
</head>
<body>
    <div></div>
</body>
</html>